﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    public class Type
    {
        [DataMember]
        private int discount;
        [DataMember]
        private string type;

        public Type(int discount, string type)
        {
            this.discount = discount;
            this.type = type;
        }

        public int Disdount
        {
            get { return discount; }
            set { discount = value; }
        }

        public string TypeOfThis
        {
            get { return type; }
            set { type = value; }
        }
    }
}
